FROM python:3.7

MAINTAINER tanjiaxi

ENV PYTHONUNBUFFERED 1

RUN mkdir -p /var/www/devzone 

WORKDIR /var/www/devzone/

ADD requirements.txt /var/www/devzone/

#RUN pip install -r requirements.txt

RUN pip install -r requirements.txt -i https://pypi.douban.com/simple/ --timeout 1000

#RUN locale-gen en_US.UTF-8
#ENV LANG en_US.UTF-8    
#ENV LANGUAGE en_US:en    
#ENV LC_ALL en_US.UTF-8 

#ADD ./mysite /var/www/devzone/


